﻿#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H

#include <QDialog>
#include <QCryptographicHash>
#include <QRegularExpression>
namespace Ui {
class LoginDialog;
}

class LoginDialog : public QDialog
{
    Q_OBJECT

public:
    explicit LoginDialog(QWidget *parent = nullptr);
    ~LoginDialog();
private slots:
    void on_btn_pwdlogin_clicked();

    void on_btn_fingerlogin_clicked();

    void on_btn_facelogin_clicked();

    void on_ck_pwd_stateChanged(int arg1);

    void on_btn_pwd_clicked();
    void on_btn_postpone_clicked();

    void on_btn_grant_clicked();

public:
     inline QString getNumFromString(QString str);
private:
    Ui::LoginDialog *ui;
    int postpoinetime;
};

#endif // LOGINDIALOG_H
